<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <jsp:include page="/WEB-INF/views/commons/common.jsp"/>
    <script src="/static/js/system/product.js"></script>
    <title>Title</title>
</head>
<body>

<table id="dg"></table>
<!--工具栏-->
<div id="tb">
    <a class="easyui-linkbutton" title="My Dialog"
       data-options="iconCls:'icon-add8',resizable:true,modal:true" data-cmd="add">增加
    </a>
    <a class="easyui-linkbutton" title="My Dialog"
       data-options="iconCls:'icon-edit8',resizable:true,modal:true" data-cmd="edit">修改
    </a>
    <a class="easyui-linkbutton" title="My Dialog"
       data-options="iconCls:'icon-remove8',resizable:true,modal:true" id="changstate" data-cmd="changState">停用
    </a>
    <a class="easyui-linkbutton" title="My Dialog"
       data-options="iconCls:'icon-remove8',resizable:true,modal:true" id="deductionstate" data-cmd="deductionState">不计免赔
    </a>


    <!--//高级查询-->
    <input id="deductionstate1" name="deductionstate" class="easyui-combobox"
           data-options="prompt:'不计免赔',valueField:'value', textField:'text',
                               data:[{text:'不计免赔状态', value:'-1',selected:true},{text:'否', value:'0'},{text:'是', value:'1'}], panelHeight:'auto'"/>

    <input id="state" name="state" class="easyui-combobox"
           data-options="prompt:'销售状态',valueField:'value', textField:'text',
                               data:[{text:'请选保险状态', value:'-1',selected:true},{text:'停用', value:'0'},{text:'在售', value:'1'}], panelHeight:'auto'"/>
    <input class="easyui-textbox" type="text" name="keyword" id="keyword" prompt="保险编号/名称"/>

    <a class="easyui-linkbutton" data-options="iconCls:'icon-search8'" data-cmd="query">查询</a>
</div>


<!--输入信息用 dialog-->
<div id="dd">
    <form id="ff" method="post">
        <input type="hidden" id="proId" name="id">
        <table align="center" style="border-collapse: separate;border-spacing: 10px;">
            <tr>

                <td>保险编号:</td>
                <td>
                    <input class="easyui-textbox" type="text" name="sn" prompt="请输入保单编号"

                        />
                </td>
            </tr>
            <tr>

                <td>产品名称:</td>
                <td>
                    <input class="easyui-textbox" type="text" name="name"/>
                </td>
            </tr>
            <tr>

                <td>所属机构:</td>
                <td>
                    <input class="easyui-combobox" type="text" name="orga.id"
                           url="/organization/queryOrg"
                           valueField="id"
                           textField="name"
                           panelHeight="auto"
                    >
                </td>
            </tr>
            <tr>

                <td>保障年限:</td>
                <td>
                    <input class="easyui-textbox" type="text" name="agelimit"/>
                </td>
            </tr>
            <tr>
                <td>保额:</td>
                <td>
                    <input class="easyui-textbox" type="text" name="coverage"/>
                </td>
            </tr>
            <tr>
                <td>年费:</td>
                <td>
                    <input class="easyui-textbox" type="text" name="annualfee"/>
                </td>
            </tr>
            <tr>
                <td>保险状态:</td>
                <td>
                    <input class="easyui-combobox" type="text" name="state" data-options="
                    data:[{'value':'0' ,'text':'停用' },{'value':'1' ,'text':'在售' }],
                    valueField:'value', textField:'text', panelHeight:'auto'">
                </td>
            </tr>
            <tr>
                <td>不计免赔:</td>
                <td>
                    <input class="easyui-combobox" type="text" name="deductionstate" data-options="
                    data:[{'value':'0' ,'text':'否' },{'value':'1' ,'text':'是' }],
                    valueField:'value', textField:'text', panelHeight:'auto'">
                </td>
            </tr>
        </table>
    </form>
</div>


<!--保存/取消按钮-->
<div id="bb">
    <a href="#" class="easyui-linkbutton" iconCls='icon-save8' data-cmd="save">保存</a>
    <a href="#" class="easyui-linkbutton" iconCls='icon-cancel8'data-cmd="cancel">关闭</a>
</div>

</body>
</html>
